package com.hucheng.activity.mapper;

import com.hucheng.activity.entity.UserPointExpiredDetailsDO;
import com.hucheng.activity.query.UserPointExpiredDetailsQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-10
 * @Description: 类描述
 **/
@Mapper
public interface UserPointExpiredDetailsMapper {
    void insert(UserPointExpiredDetailsDO userPointExpiredDetailsDO);

    List<UserPointExpiredDetailsDO> list(UserPointExpiredDetailsQuery userPointExpiredDetailsQuery);

    int updateBatch(@Param("lists") List<UserPointExpiredDetailsDO> lists);

    int getUserPointExpiredByUserId(Integer userId);
}
